package cn.bean;

public class User
{
    private int id;
    private String name;
    private String phone;
    private double money;
    private Permission permission;
    private Log log;

    
    
	public User()
	{
		super();
	}
	public User(int id, String name, String phone, Permission permission,
			Log log, double money)
	{
		super();
		this.id = id;
		this.name = name;
		this.phone = phone;
		this.permission = permission;
		this.log = log;
		this.money = money;
	}
	public int getId()
	{
		return id;
	}
	public void setId(int id)
	{
		this.id = id;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public String getPhone()
	{
		return phone;
	}
	public void setPhone(String phone)
	{
		this.phone = phone;
	}
	public Permission getPermission()
	{
		return permission;
	}
	public void setPermission(Permission permission)
	{
		this.permission = permission;
	}
	public Log getLog()
	{
		return log;
	}
	public void setLog(Log log)
	{
		this.log = log;
	}
	public double getMoney()
	{
		return money;
	}
	public void setMoney(double money)
	{
		this.money = money;
	}
    
    
    
}
